/*
 * @Author: liszter <liszter@qq.com>
 * @Date: 2023-03-28 22:22:18
 * @LastEditTime: 2023-03-29 14:11:50
 * @LastEditors: liszter@qq.com liszter@qq.com
 * @Description: 暂无
 * @FilePath: \node-koa2\src\index.ts
 */
import Koa from 'koa'

const app = new Koa()
const msg: string = 'Hello World'

app.use(async (ctx: Koa.Context): Promise<void> => {
  ctx.body = msg
})

console.log('run at "localhost:3000"')

app.listen(3000)

